﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="NDD_Day1.GridDemoPage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="True">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="168"/>
			<ColumnDefinition Width="144"/>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" MinHeight="352"/>
			<RowDefinition Height="0.25*"/>
			<RowDefinition Height="0.75*"/>
		</Grid.RowDefinitions>
		<MediaElement x:Name="demovdo" 
			Grid.Column="0"
			Grid.Row="0"
			Grid.ColumnSpan="3"
			Grid.RowSpan="2"
			 
			Source="/Videos/demo.mp4" 
			Stretch="Fill" AutoPlay="False" Volume="1"/>
		<Button x:Name="bntPlayVideo" Grid.ColumnSpan="3" 
				Content="Play" 
				Grid.Row="2" DoubleTap="bntPlayVideo_DoubleTap" Click="bntPlayVideo_Click"/>
	</Grid>

	<!--LayoutRoot is the root grid where all page content is placed-->
</phone:PhoneApplicationPage>